#include "window.h"

#include <QHBoxLayout>
#include "glwidget.h"

Window::Window(QWidget *parent)
    : QWidget(parent)
{
    QHBoxLayout *layout = new QHBoxLayout(this);
    layout->addWidget(new GLWidget());
    setLayout(layout);
    setGeometry(x(), y(), 320, 240);
}

Window::~Window()
{
    
}

QSize Window::sizeHint() const
{
    return QSize(320,240);
}

QSize Window::minimumSizeHint() const
{
    return QSize(320, 240);
}
